package org.tgcloud.group.web.controller.dto.depart;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: zhy
 * @Created: 2025-05-09-下午1:07
 * @Description:
 */
@Data
public class DepartDTO {
    @ApiModelProperty(value = "")
    private Integer id;

    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称")
    private String deptName;

    /**
     * 上级id，最上级为null
     */
    @ApiModelProperty(value = "上级id")
    private Integer pid;

    @ApiModelProperty(value = "上级部门名称")
    private String pDeptName;

    /**
     * 排序，从大到小
     */
    @ApiModelProperty(value = "排序，从大到小")
    private Integer sort;


    @ApiModelProperty(value = "管理员编号")
    private String managerUserIds;

    @ApiModelProperty(value = "部门负责人")
    private String departManagerUsernames;

    private List<DepartDTO> subList;

    @ApiModelProperty("部门成员列表")
    private List<DepartUserDTO> userList;

}
